package com.zjf.carpark.service;



import com.zjf.carpark.entities.AccessIncome;
import com.zjf.carpark.entities.AccessInfo;
import com.zjf.carpark.entities.AccessNum;
import com.zjf.carpark.utils.ResponseData;
import com.zjf.carpark.vo.AccessByCarNumVo;
import com.zjf.carpark.vo.AccessInfoVO;

import java.util.List;


/**
 * @description:
 * @author: 张建飞
 * @createDate: 2019/12/21
 * @version: 1.0
 */
public interface AccessInfoService extends BaseService<AccessInfo> {
    int out(AccessInfo accessInfo);

    AccessInfo selectByCarNum(String carNum);

    List<AccessInfo> selectAllLinShi(AccessInfoVO accessInfoVo);

    int totalCount(AccessInfoVO accessInfoVo);

    List<AccessInfo> selectAllFixed(AccessInfoVO accessInfoVo);

    int fixedTotalCount(AccessInfoVO accessInfoVo);

    int selectCount(Integer begin, Integer end);

    List<AccessInfo> selectAllByCarNum(AccessByCarNumVo accessByCarNumVo);

    AccessInfo selectByAccessId(String accessId);

    int selectCountByCarNum(AccessByCarNumVo accessByCarNumVo);

    List<AccessNum> selectCountByYear(int year);

    List<AccessIncome> selectIncomeByYear(int year);

    ResponseData getData();
}
